﻿

<div>
    <form name="workFlow_TableNameCreateOrEditForm" role="form" novalidate class="form-validation">
        <div class="modal-header">
            <h4 class="modal-title">
                <span ng-if="vm.workFlow_TableName.id">编辑信息:{{vm.workFlow_TableName.name}}</span>
                <span ng-if="!vm.workFlow_TableName.id">新增信息</span>
            </h4>
        </div>
        <div class="modal-body">



            <div class="form-group form-md-line-input form-md-floating-label no-hint" style="display:none;">
                <input type="text" class="form-control" name="FlowID" ng-class="{'edited':vm.workFlow_TableName.flowID}" ng-model="vm.workFlow_TableName.flowID" required />
                <label>流程ID</label>
                <span class="help-block">     @L("FlowID")@L("MustBe_Required")</span>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="TableName" ng-class="{'edited':vm.workFlow_TableName.tableName}" ng-model="vm.workFlow_TableName.tableName" maxlength="50" />
                <label>业务表</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="UrlDetail" ng-class="{'edited':vm.workFlow_TableName.urlDetail}" ng-model="vm.workFlow_TableName.urlDetail" maxlength="200" />
                <label>关联表单的url地址</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="UrlEdit" ng-class="{'edited':vm.workFlow_TableName.urlEdit}" ng-model="vm.workFlow_TableName.urlEdit" maxlength="200" />
                <label>关联表的编辑页面URL</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="ColumnName" ng-class="{'edited':vm.workFlow_TableName.columnName}" ng-model="vm.workFlow_TableName.columnName" maxlength="50" />
                <label>映射的字段名</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="FieldKey" ng-class="{'edited':vm.workFlow_TableName.fieldKey}" ng-model="vm.workFlow_TableName.fieldKey" maxlength="50" />
                <label>映射的主键字段名</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <div class="md-checkbox-list">
                    <div class="md-checkbox">
                        <input id="EditWorkFlow_TableName_DelTag" class="md-check" type="checkbox" name="DelTag" ng-model="vm.workFlow_TableName.delTag">
                        <label for="EditWorkFlow_TableName_DelTag">
                            <span class="inc"></span>
                            <span class="check"></span>
                            <span class="box"></span>
                            是否可用
                        </label>
                    </div>
                </div>
            </div>



        </div>
        <div class="modal-footer">
            <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>
            <button type="submit" button-busy="vm.saving" busy-text="@L("SavingWithThreeDot")" class="btn btn-primary blue" ng-click="vm.save()" ng-disabled="workFlow_TableNameCreateOrEditForm.$invalid"><i class="fa fa-save"></i> <span>@L("Save")</span></button>
        </div>
    </form>
</div>